package com.forcht.common.domain;

import lombok.*;

import java.util.Date;

/**
 * Created by forcht on 2018/4/15.
 */
@Setter
@Getter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ChatOne {

    private String sender;
    private String receiver;
    private Date timestamp;
    private String content;

    @Override
    public String toString() {
        return "ChatOne{" +
                "sender='" + sender + '\'' +
                ", receiver='" + receiver + '\'' +
                ", timestamp=" + timestamp +
                ", content='" + content + '\'' +
                '}';
    }
}
